package com.leven.printer.sdk.utils;

import androidx.annotation.Nullable;

public class SdkException extends Exception{
    private int code = -1;
    private String message = "";
    public SdkException(int code, String message){
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    @Nullable
    @Override
    public String getMessage() {
        return message;
    }
}
